import request from '@/utils/request'

// 查询用户评论点赞列表
export function listReviews_up(query) {
  return request({
    url: '/system/reviews_up/list',
    method: 'get',
    params: query
  })
}

// 查询用户评论点赞详细
export function getReviews_up(thumbsUpId) {
  return request({
    url: '/system/reviews_up/' + thumbsUpId,
    method: 'get'
  })
}

// 新增用户评论点赞
export function addReviews_up(data) {
  return request({
    url: '/system/reviews_up',
    method: 'post',
    data: data
  })
}

// 修改用户评论点赞
export function updateReviews_up(data) {
  return request({
    url: '/system/reviews_up',
    method: 'put',
    data: data
  })
}

// 删除用户评论点赞
export function delReviews_up(thumbsUpId) {
  return request({
    url: '/system/reviews_up/' + thumbsUpId,
    method: 'delete'
  })
}
